package cn.miui.mall.service.impl;

import cn.miui.mall.dao.Typedao;
import cn.miui.mall.pojo.product_types;
import cn.miui.mall.service.Typeservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class Typeserviceimpl implements Typeservice {
    @Autowired
    private Typedao typedao;
    @Override
    public List<product_types> findAll() {
        return typedao.findAll();
    }
}
